package com.mybatis.dao;

import com.mybatis.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    List<User> getUserList();

    User UserForId(int id);

    boolean addUser(User user);

    boolean updateUser(User user);

    boolean deleteUser(int id);

    boolean addUserForMap(Map<String, Object> userForMap);

    List<User> getUserLike(String value);
}
